package com.jxpanda.spring.module.auth.core.token;

import lombok.Builder;
import lombok.Getter;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.oauth2.core.OAuth2AccessToken;
import org.springframework.security.oauth2.core.OAuth2RefreshToken;

@Getter
@Builder
public class OAuth2TokenPayload {

    private OAuth2AccessToken accessToken;

    private OAuth2RefreshToken refreshToken;

    private UserDetails userDetails;

}
